package com.goods.business.service;

import com.goods.common.vo.business.InStockDetailVO;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.system.PageVO;

import java.util.Map;

public interface InStockService {
    PageVO<InStockVO> findInStockList(Integer pageNum, Integer pageSize, Integer status, Integer type, String inNum, String startTime, String endTime);

    InStockDetailVO detailInStock(Long id, Integer pageNum, Integer pageSize);

    void removeInStock(Long id);

    void backInStock(Long id);

    void deleteStock(Long id);

    void addInStock(Map<String, Object> map);

    void publishInStock(Long id);

    void addProductStock(Long id);
}
